<script setup lang="ts">
	import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
	onLaunch(() => {
		const isWeixin = navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
		if (isWeixin) {
			const style = document.createElement('style')
			style.textContent = `
			  .uni-page-head,.uni-placeholder {
			     display: none !important;
			  }	
		    `
			document.head.appendChild(style)
		}
	});
	onShow(() => { });
	onHide(() => { });
</script>
<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-plus/index.scss";

	.uni-tabbar {
		padding-top: 6px;
		box-shadow: 0px 0px 20px 0px rgba(2, 66, 164, 0.2);
	}

	// uni-page-body{
	// 	width: 100vw;
	// 	height: 100vh;
	// }
</style>